{% extends 'base/nav_h.html' %}
{% block css %}
{{super()}}
{% endblock %}
{% block content %}
<div class="album py-5 bg-light">
    <div class="container">
        <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
            {% for item in videoList%}
            <div class="col">
                <div class="card shadow-sm">
                    <img src="{{ url_for('static', filename=item.img) }}" class="rounded card-img-top" alt="...">
                    <div class="card-body">
                        <p class="card-text">{{item.text}}</p>
                        <div class="d-flex justify-content-between align-items-center">
                            <div class="btn-group">
                                <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
                                <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
                            </div>
                            <small class="text-muted">{{item.section}} mins</small>
                        </div>
                    </div>
                </div>
            </div>
            {% endfor %}
        </div>
    </div>
</div>
{% endblock %}